#include <Windows.h>
#include <commctrl.h>
#include <WindowsX.h>
#include <tchar.h>
#include <stdio.h>

#define WM_TRAYMESSAGE			(WM_APP + 1001)
#define WM_QQBZMESSAGE			(WM_APP + 1002)


//==: QQBZone Status
#define	QQBZ_UNLAUNCH			0X00
#define	QQBZ_LAUNCHED			0X01
#define	QQBZ_LOGINED			0X02
#define	QQBZ_GRABBING			0X03
#define	QQBZ_STOPGRAB			0X04
#define	QQBZ_INROOM				0X05
#define	QQBZ_EXITED				0X06

//==: Grab State
#define GS_INROOM				0X00
#define GS_FAILED				0X01
#define GS_STOPED				0X02

void DebugString(const TCHAR* szInfo, ...);
